package com.ch.engine.design.factory.methodFactory;

import com.ch.engine.design.factory.simpleFactory.MiPhone;
import com.ch.engine.design.factory.simpleFactory.Phone;

/**
 * XiaoMiFactory类：生产小米手机的工厂（ConcreteFactory1）
 */
public class XiaoMiFactory implements AbstractFactory {
    @Override
    public Phone makePhone() {
        return new MiPhone();
    }
}